Dynomotion

Group: DynoMotion Message: 11641 From: bigrid_rid Date: 6/5/2015
Subject: Problem with 5th axis

I have a next error.What am I doing wrong? Four axes - normally. but the fifth axis error when I wrote it being prescribed in Init.c file


  @@attachment@@
Group: DynoMotion Message: 11642 From: bigrid_rid Date: 6/5/2015
Subject: Re: Problem with 5th axis
5th axis I  have connected by JP5 via a relays 
Group: DynoMotion Message: 11643 From: Moray Cuthill Date: 6/5/2015
Subject: Re: Problem with 5th axis [1 Attachment]
Hi,

the problem is the DefineCoordSystem function is only good for 4 axis. To use 5 axis, you have to use DefineCoordSystem6, and set the sixth axis to -1, same as you would with DefineCoordSystem function if not using 4 axis..

The relevant extract from the KMotionDef.h file is -
void DefineCoordSystem(int axisx, int axisy, int axisz, int axisa); // define axis chan numbers to use as x,y,z,a (set -1 to disable)
void DefineCoordSystem6(int axisx, int axisy, int axisz, int axisa, int axisb, int axisc); // define axis chan numbers to use as x,y,z,a,b,c (set -1 to disable)

Moray

On Fri, Jun 5, 2015 at 7:46 PM, bigrid_rid@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 
[Attachment(s) from bigrid_rid@... [DynoMotion] included below]

I have a next error.What am I doing wrong? Four axes - normally. but the fifth axis error when I wrote it being prescribed in Init.c file



Group: DynoMotion Message: 11664 From: bigrid_rid Date: 6/8/2015
Subject: Re: Problem with 5th axis
Oh! thanks for the link.  I have an older version of Manual